package com.hydl.power.mapper;

import com.hydl.power.pojo.PowerDevice;
import com.hydl.power.pojo.PowerDeviceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PowerDeviceMapper {
    long countByExample(PowerDeviceExample example);

    int deleteByExample(PowerDeviceExample example);

    int insert(PowerDevice record);

    int insertSelective(PowerDevice record);

    List<PowerDevice> selectByExample(PowerDeviceExample example);

    int updateByExampleSelective(@Param("record") PowerDevice record, @Param("example") PowerDeviceExample example);

    int updateByExample(@Param("record") PowerDevice record, @Param("example") PowerDeviceExample example);

    List<PowerDevice> selectPage(@Param("pageNumKey") Integer pageNum,@Param("pageSizeKey") Integer pageSize);
}